# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=corepdf
pkgver=3.0.1
pkgrel=0
pkgdesc="A PDF viewer from the CoreApps family."
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev poppler-qt5-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/corepdf/-/archive/v$pkgver/corepdf-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="377441b573efbeec86891c054e0072b795b3fec3267254fc906a2ab94b62e72b20016220ba50cb4d208f82dbf1deea9f15265083f698c595aece4caea1f2109b  corepdf-3.0.1.tar.gz"
